<p align=center><font size=+1 color=red> .</font></p>
<p align=center><font size=+1 color=red> .</font></p><html {$html_attrs}>
<head>
<title>{$caption contacts}: {mlang_message ADV_SEARCH}</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
<style>
#center_block{$id} {margin:0 auto;}
#contents_block{$id} {text-align:center;width:100%}
#header_block{$id} {width:100%;white-space:nowrap;height:31px;padding-top:5px;}
#main_block{$id} {padding:10px 0;width:100%}
#inmain_block{$id} {margin:0 10px}
#fields_block{$id} {width:100%}
#buttons_block{$id} {width:100%;padding:10px 0 5px 0;}
#buttons_block{$id} > * {margin:0 2px}
</style>
<!--[if IE]>
<style>
#main_block{$id} {padding:10px 10;}
#inmain_block{$id} {margin:0 0px}
</style>
<![endif]-->
</head>
<body bgcolor=white {$bodyattrs}>
{BEGIN body}
{$header}	
{BEGIN contents_block}
<table align=center id="center_block{$id}"><tr><td id="contents_block{$id}">
<b class="xtop"><b class="rb1 rb1_top"></b><b class="rb2 rb2_top"></b><b class="rb3 rb3_top"></b><b class="rb4 rb4_top"></b></b>
<div id="header_block{$id}" class="top">
{$caption contacts} - {mlang_message ADVANCED_SEARCH}</div>
<div id="main_block{$id}" class="xboxcontentb" >
<div id="inmain_block{$id}" class="xboxcontentb" >
	
{BEGIN conditions_block}
<DIV id="conditions_block{$id}">
<b class="xtop"><b class="xb1"></b><b class="xb2"></b><b class="xb3"></b><b class="xb4"></b></b>
<div class="xboxcontent" style="width:100%">
<span class=fieldname>{mlang_message SEARCH_FOR}:</span>
<input type="radio" name="srchType" {$all_checkbox}>{BEGIN all_checkbox_label}{mlang_message ALL_CONDITIONS}{END all_checkbox_label}
&nbsp;&nbsp;&nbsp;
<input type="radio" name="srchType" {$any_checkbox}>{BEGIN any_checkbox_label}{mlang_message ANY_CONDITION}{END any_checkbox_label}
</div>
<b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b></b>
<br>
</DIV>
{END conditions_block}
<table cellpadding=4 cellspacing=0 border=0 id="fields_block{$id}">
<tr valign=center>
<td align=center valign=middle class="searchlist_left">&nbsp;</td>
<td width=30 align=center valign=middle class=searchlist>NOT</td>
<td align=center valign=middle class="searchlist">&nbsp; </td>
<td align=center valign=middle class="searchlist">&nbsp; </td>
<td align=center valign=middle class="searchlist_right">&nbsp; </td></tr>
{BEGIN id_fieldblock}	
<tr>
	<td class=editshade_b style="padding-left:15px;">{$label contacts id}</td>
	<td align=center class=editshade_lb style="padding-left:10px;"><input type=checkbox {$id_notbox}></td>
	
	<td class=editshade_lb style="padding-left:10px;">{$searchtype_id}</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$id_editcontrol}&nbsp;</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$id_editcontrol1}&nbsp;</td>
</tr>
{END id_fieldblock}	
{BEGIN company_id_fieldblock}	
<tr>
	<td class=editshade_b style="padding-left:15px;">{$label contacts company_id}</td>
	<td align=center class=editshade_lb style="padding-left:10px;"><input type=checkbox {$company_id_notbox}></td>
	
	<td class=editshade_lb style="padding-left:10px;">{$searchtype_company_id}</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$company_id_editcontrol}&nbsp;</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$company_id_editcontrol1}&nbsp;</td>
</tr>
{END company_id_fieldblock}	
{BEGIN address_fieldblock}	
<tr>
	<td class=editshade_b style="padding-left:15px;">{$label contacts address}</td>
	<td align=center class=editshade_lb style="padding-left:10px;"><input type=checkbox {$address_notbox}></td>
	
	<td class=editshade_lb style="padding-left:10px;">{$searchtype_address}</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$address_editcontrol}&nbsp;</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$address_editcontrol1}&nbsp;</td>
</tr>
{END address_fieldblock}	
{BEGIN city_id_fieldblock}	
<tr>
	<td class=editshade_b style="padding-left:15px;">{$label contacts city_id}</td>
	<td align=center class=editshade_lb style="padding-left:10px;"><input type=checkbox {$city_id_notbox}></td>
	
	<td class=editshade_lb style="padding-left:10px;">{$searchtype_city_id}</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$city_id_editcontrol}&nbsp;</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$city_id_editcontrol1}&nbsp;</td>
</tr>
{END city_id_fieldblock}	
{BEGIN port_id_fieldblock}	
<tr>
	<td class=editshade_b style="padding-left:15px;">{$label contacts port_id}</td>
	<td align=center class=editshade_lb style="padding-left:10px;"><input type=checkbox {$port_id_notbox}></td>
	
	<td class=editshade_lb style="padding-left:10px;">{$searchtype_port_id}</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$port_id_editcontrol}&nbsp;</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$port_id_editcontrol1}&nbsp;</td>
</tr>
{END port_id_fieldblock}	
{BEGIN phone1_fieldblock}	
<tr>
	<td class=editshade_b style="padding-left:15px;">{$label contacts phone1}</td>
	<td align=center class=editshade_lb style="padding-left:10px;"><input type=checkbox {$phone1_notbox}></td>
	
	<td class=editshade_lb style="padding-left:10px;">{$searchtype_phone1}</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$phone1_editcontrol}&nbsp;</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$phone1_editcontrol1}&nbsp;</td>
</tr>
{END phone1_fieldblock}	
{BEGIN phone2_fieldblock}	
<tr>
	<td class=editshade_b style="padding-left:15px;">{$label contacts phone2}</td>
	<td align=center class=editshade_lb style="padding-left:10px;"><input type=checkbox {$phone2_notbox}></td>
	
	<td class=editshade_lb style="padding-left:10px;">{$searchtype_phone2}</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$phone2_editcontrol}&nbsp;</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$phone2_editcontrol1}&nbsp;</td>
</tr>
{END phone2_fieldblock}	
{BEGIN fax1_fieldblock}	
<tr>
	<td class=editshade_b style="padding-left:15px;">{$label contacts fax1}</td>
	<td align=center class=editshade_lb style="padding-left:10px;"><input type=checkbox {$fax1_notbox}></td>
	
	<td class=editshade_lb style="padding-left:10px;">{$searchtype_fax1}</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$fax1_editcontrol}&nbsp;</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$fax1_editcontrol1}&nbsp;</td>
</tr>
{END fax1_fieldblock}	
{BEGIN fax2_fieldblock}	
<tr>
	<td class=editshade_b style="padding-left:15px;">{$label contacts fax2}</td>
	<td align=center class=editshade_lb style="padding-left:10px;"><input type=checkbox {$fax2_notbox}></td>
	
	<td class=editshade_lb style="padding-left:10px;">{$searchtype_fax2}</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$fax2_editcontrol}&nbsp;</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$fax2_editcontrol1}&nbsp;</td>
</tr>
{END fax2_fieldblock}	
{BEGIN email_fieldblock}	
<tr>
	<td class=editshade_b style="padding-left:15px;">{$label contacts email}</td>
	<td align=center class=editshade_lb style="padding-left:10px;"><input type=checkbox {$email_notbox}></td>
	
	<td class=editshade_lb style="padding-left:10px;">{$searchtype_email}</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$email_editcontrol}&nbsp;</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$email_editcontrol1}&nbsp;</td>
</tr>
{END email_fieldblock}	
{BEGIN website_fieldblock}	
<tr>
	<td class=editshade_b style="padding-left:15px;">{$label contacts website}</td>
	<td align=center class=editshade_lb style="padding-left:10px;"><input type=checkbox {$website_notbox}></td>
	
	<td class=editshade_lb style="padding-left:10px;">{$searchtype_website}</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$website_editcontrol}&nbsp;</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$website_editcontrol1}&nbsp;</td>
</tr>
{END website_fieldblock}	
{BEGIN primary_fieldblock}	
<tr>
	<td class=editshade_b style="padding-left:15px;">{$label contacts primary}</td>
	<td align=center class=editshade_lb style="padding-left:10px;"><input type=checkbox {$primary_notbox}></td>
	
	<td class=editshade_lb style="padding-left:10px;">{$searchtype_primary}</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$primary_editcontrol}&nbsp;</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$primary_editcontrol1}&nbsp;</td>
</tr>
{END primary_fieldblock}	
{BEGIN company_name_fieldblock}	
<tr>
	<td class=editshade_b style="padding-left:15px;">{$label contacts company_name}</td>
	<td align=center class=editshade_lb style="padding-left:10px;"><input type=checkbox {$company_name_notbox}></td>
	
	<td class=editshade_lb style="padding-left:10px;">{$searchtype_company_name}</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$company_name_editcontrol}&nbsp;</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$company_name_editcontrol1}&nbsp;</td>
</tr>
{END company_name_fieldblock}	
{BEGIN pin_code_fieldblock}	
<tr>
	<td class=editshade_b style="padding-left:15px;">{$label contacts pin_code}</td>
	<td align=center class=editshade_lb style="padding-left:10px;"><input type=checkbox {$pin_code_notbox}></td>
	
	<td class=editshade_lb style="padding-left:10px;">{$searchtype_pin_code}</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$pin_code_editcontrol}&nbsp;</td>
	<td width=270 class=editshade_lb style="padding-left:10px;">{$pin_code_editcontrol1}&nbsp;</td>
</tr>
{END pin_code_fieldblock}	
</table>

<div class="downedit2" id="buttons_block{$id}">
{BEGIN search_button}
 <span class=buttonborder><input class=button type=button value="{mlang_message SEARCH}" {$searchbutton_attrs}></span>
{END search_button} 
{BEGIN reset_button}
 <span class=buttonborder><input class=button type=button value="{mlang_message RESET}" {$resetbutton_attrs}></span>
{END reset_button}
{BEGIN back_button}
 <span class=buttonborder><input class=button type=button value="{mlang_message BACK_TO_LIST}" {$backbutton_attrs}></span>
{END back_button}
</div>
<b class="xbottom"><b class="xb4a"></b><b class="xb3a"></b><b class="xb2a"></b><b class="xb1a"></b></b>
</div>
</div>
<b class="xbottom"><b class="xb4b4"></b><b class="xb3b4"></b><b class="xb2b4"></b><b class="xb1b4"></b></b>
</td></tr></table>
{END contents_block}
{$footer}
{END body}
</body>
</html>
	
